drop mili sencond from datetime index

39

>>> d = datetime.datetime.today().replace(microsecond=0)
>>> d
datetime.datetime(2015, 7, 18, 9, 50, 20)

Comments

Submit
0 Comments